<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="common.jsp"%>

<!-- 修改密码页面 -->
<div class="bjui-pageContent">
    <form action="../../json/ajaxDone.json" data-toggle="validate" method="post" data-close-current="true">
        <input type="hidden" name="user.id" value="${user.id}">
        <div class="bjui-row col-1">
            <label class="row-label">姓名:</label>
            <div class="row-input">${user.realName}</div>
            <label class="row-label">登陆账号:</label>
            <div class="row-input">${user.loginName}</div>
            <label class="row-label">旧密码:</label>
            <div class="row-input required">
                <input type="password" id="oldPassword" name="oldPassword" value="" data-rule="required" />
            </div>
            <label class="row-label">新密码:</label>
            <div class="row-input required">
                <input type="password" id="newPassword" name="password" value="" data-rule="新密码:required;length(6~)" />
            </div>
            <label class="row-label">确认密码:</label>
            <div class="row-input required">
                <input type="password" id="confirmPassword" name="confirmPassword" value="" data-rule="required;match(#newPassword)" />
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
        <li><button type="submit" class="btn-default" data-icon="check">确认修改</button></li>
    </ul>
</div>